﻿@model MVCMongo.ViewModel.Submit.Url_Info
  @{ 
    Layout = "~/Views/Shared/_LayoutBreakingHome.cshtml";
}

<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <h4>Submit Your Favourite Web Site Domain</h4>
            <div class="alert alert-info">
                <h4>Please follow a few simple guidelines to make this site a better place:!</h4>
                <p>
                    <div class="control-group">
                        <label> Quality Content:  Is your story relevant to the site?</label>
                    </div>
                    <div class="control-group">
                        <label> Link Directly to the Source: Save people time by linking directly to the original news story.</label>
                    </div>
                    <div class="control-group">
                        <label> Search First:  Avoid duplicate submissions by searching to make sure someone else has not submitted the story already.</label>
                    </div>
                    <div class="control-group">
                        <label> Be Descriptive:   has not submitted the story already.</label>
                    </div>
                </p>
            </div>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span12">
            <h4>New Domain</h4>
            @using (Html.BeginForm("GetSubmitUrlDetail", "Submit", method: FormMethod.Get))
            {
                @Html.ValidationSummary(true)
                <div class="control-group">
                    <label class="control-label" for="textfield"><h6>Type Unique Domain Name</h6></label>
                    <div class="controls">
                        @Html.TextBoxFor(x=>x.Url, new{@class="span6", @placeholder="http://www.abc.com" })
                        @*<input type="text" id="textfield" name="url" required="true">*@
                        @Html.ValidationMessageFor(x => x.Url)

                    </div>
                    <input value="Submit" id="submit-url" class="btn btn-primary" type="submit" />
                </div>}


        </div>
    </div>

</div>
